// components/nav_normal/nav_normal.js
let app = getApp();
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    rightImgHeight: {
      type: Number,
      value: 22,
    },
    rightImgWidth: {
      type: Number,
      value: 25,
    },
    rightHomeImgHeight:{
      type: Number,
      value: 24,
    },
    rightHomeImgBorder:{
      type: Boolean,
      value: true
    },
    theme: {
      type: String,
      value: "white",
    },
    backStatus: {
      type: Boolean,
      value: false
    },
    homeStatus: {
      type: Boolean,
      value: false
    },
    color: {
      type: String,
      value: "#2c2c2c",
    },
    backgroundColor: {
      type: String,
      value: "#fff",
    },
    fontSize: {
      type: Number,
      value: 36,
    },
    textAlign:{
      type:String,
      value:"center"
    },
    textIndent:{
      type: Number,
      value: 50,
    },
    navTitle:{
      type: String,
      value: "首页",
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    titleBarHeight: app.globalData.titleBarHeight,
    statusBarHeight: app.globalData.statusBarHeight,
    rightMenuButton: app.globalData.rightMenuButton,
    centerBarWidth:app.globalData.centerBarWidth,
  },

  /**
   * 组件的方法列表
   */
  methods: {

  }
})